<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="keywords" content=""><!--SEO关键字-->
<meta name="description" content=""><!--SEO描述-->
<link rel ="" href=""><!--选项卡图标-->
<title></title>
<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="/css/common.css">
<link rel="stylesheet" href="/css/style.css">
<script src="/js/jquery-1.7.2.min.js"></script>
<script src="/js/script.js"></script>
<script src="/js/responsiveslides.min.js"></script>
<!--[if ie 6]>
<link rel="stylesheet" href="css/ie6.css">
<script type="text/javascript" src="js/DD_belatedPNG.js" ></script>
<script type="text/javascript">
DD_belatedPNG.fix('.png');/*在需要png透明的元素里面加上.png样式即可（class="png"）*/
</script>
<![endif]-->
</head>

<body class="bg_img">
	<div class="header h100 w960 bc"><?php head();?></div>

	<div class="w960 bc oh mt20">
		<div class="user_nav_wrap oh fl">
			<p class="f14 fb chot common_bg_color1 p10">我的订单</p>
			<a href="/users/order" class="f12 db p10 pl30 c777 no_url">交易订单</a>
			<a href="/users/complete" class="f12 db p10 pl30 c777 no_url">已完成订单</a>
			<a href="/users/close" class="f12 db p10 pl30 c777 no_url">已关闭订单</a>
			<p class="f14 fb chot common_bg_color1 p10">我的售后服务单</p>
			<a href="/users/change" class="f12 db p10 pl30 c777 no_url">换货单</a>
			<a href="/users/refund" class="f12 db p10 pl30 c777 no_url">退款单</a>
			<p class="f14 fb chot common_bg_color1 p10">我的个人信息</p>
			<a href="/users/address" class="f12 db p10 pl30 c777 no_url">收货地址</a>
			<a href="/users/password" class="f12 db p10 pl30 c777 no_url">修改密码</a>
		</div><!-- user_nav_wrap end -->
		
		<form method="POST" class="address_form">
		<div class="common_bg fr" style="padding:20px;background-color:#fff!important;width:718px;">
			<p class="fb f16 c999" style="border-bottom:solid 1px #ccc;">收货人信息</p><br>
			<div class="oh mt20">
				<div class="" style="padding:20px;background-color:#F8FCFC!important;border:solid 1px #DBE4E8;">
					<table>
						<?php 
						for($n=0;$n< count($address);$n++){?>
						<tr>
							<td><?php echo $address[$n]['province'].$address[$n]['city'].$address[$n]['area'];?></td>
							<td><?php echo $address[$n]['addressee'];?></td>
							<td><?php echo $address[$n]['phone_number'];?></td>
							<td><input type="submit" value="删除" name="del"><input type="hidden" name="del_id" value="<?php echo $address[$n]['id'];?>"></td>
						</tr>
						<?php }
						?>
					</table>
					
				</div>
			</div>
			<p class="f14 c444">真实姓名 <span class="cred">*&nbsp;&nbsp;</span></br><input type="text" class="input_text login_input" name="true_name" value=""></p>
				<p class="f14 c444">地址 <span class="cred">*&nbsp;&nbsp;</span></br>
					<select name="province" id="province" class="address_Select">
					</select>
					<select name="city" id="city" class="address_Select">
					</select>
					<select name="area" id="area" class="address_Select">
					</select><br>
					<textarea name="address" id="UserAddress_address" style="color: rgb(204, 204, 204);">路名或街道地址，门牌号</textarea>
				</p>
				<p class="f14 c444">邮政编码 <span class="cred">*&nbsp;&nbsp;</span></br><input type="text" name="zip_code" class="input_text login_input" value="" maxlength="6"></p>
				<p class="f14 c444">联系电话 <span class="cred">*&nbsp;&nbsp;</span></br><input type="text" name="tel" class="input_text login_input" value="" maxlength="11"><span class="error_text">错误信息</span></p>
				<p class="fl f14"><input type="submit" class="submit fl fb address_submit" value="新增地址" name="submit"></p>
		</div><!-- end -->
	</form>

	<div class="footer w960 bc">
		<div class="footerinfo fl mt20 pb20">
			<p class="f12">友情链接： <a href="#">小米科技 </a>&nbsp;&nbsp;<a href="#">魅族科技</a>&nbsp;&nbsp;<a href="#">360手机</a>&nbsp;&nbsp;<a href="#">到会网</a></p>
			<p class="f12">友情链接： <a href="#">关于我们</a>&nbsp;&nbsp;<a href="#">工作机会</a>&nbsp;&nbsp;<a href="#">联系我们</a></p>
			<p class="f12">Copyright ? 2012 Speed Co., Ltd. All rights reserved. 经营许可证编号： 粤B2-20050367</p>
		</div>
		<div class="phone400 fl png"></div>
		<div class="service fl pf fixed-bottom"><a href="#" class="dib png"></a></div>
	</div>
</body>
</html>